<!DOCTYPE html>
<html>
<head>
    <title>景点评分</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="row" style="border: none;">
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" v-model="q.username" @keyup.enter="query" placeholder="请输入用户名" >
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" v-model="q.senicName" @keyup.enter="query" placeholder="请输入景点名称">
            </div>
            <div class="form-group col-sm-2">
                <a class="btn btn-default" @click="query">查询</a>
                <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            </div>
        </div>
        <div class="row" style="border: none;">
            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
        </div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-2 control-label">景点ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.senicId" placeholder="景点ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.userId" placeholder="用户ID"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">景点评分</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.senicScore" placeholder="景点评分"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">景点评价</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.senicEvaluate" placeholder="景帝评价"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">修改时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="senicScores.updateTime" placeholder="修改时间"/>
                        </div>
                    </div>
					<div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/senic/senicscores.js?_${.now?long}"></script>
</body>
</html>